<html><head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Definition" rel="Chapter" href="Definition.html"><title>Definition.carte_LG</title>
</head>
<body>
<code class="code"><span class="keyword">let</span>&nbsp;carte_LG&nbsp;nb_joueurs&nbsp;=<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="comment">(*&nbsp;je&nbsp;sais&nbsp;cette&nbsp;&nbsp;manière&nbsp;d'écrire&nbsp;est&nbsp;contraire&nbsp;à&nbsp;l'idée&nbsp;CaMLique&nbsp;du&nbsp;match...with&nbsp;mais&nbsp;c'est&nbsp;plus&nbsp;lisible*)</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">match</span>&nbsp;nb_joueurs&nbsp;<span class="keyword">with</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>_&nbsp;<span class="keyword">when</span>&nbsp;nb_joueurs&nbsp;&lt;&nbsp;12&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;(&gt;)&nbsp;5&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>_&nbsp;<span class="keyword">when</span>&nbsp;nb_joueurs&nbsp;&lt;&nbsp;17&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;(&gt;)&nbsp;6<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>_&nbsp;<span class="keyword">when</span>&nbsp;nb_joueurs&nbsp;&lt;&nbsp;22&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;(&gt;)&nbsp;7<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="keywordsign">|</span>_&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;(&gt;)&nbsp;(2+(nb_joueurs-2)/5)</code></body></html>